home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / dcom / modems-part1 / 5036 < prev    next >
Encoding:
Text File  |  1996-08-05  |  3.4 KB  |  69 lines

  1. Newsgroups: comp.dcom.modems
  2. Path: news.uunet.ca!gts!bokonon!stephen
  3. From: stephen@bokonon.ussinc.com (Stephen M. Dunn)
  4. Subject: Re: Shouldn't avg. file transfers speed match modem speed?
  5. Organization: United System Solutions Inc.
  6. Date: Wed, 21 Feb 1996 05:12:45 GMT
  7. Message-ID: <Dn4159.5LA@bokonon.ussinc.com>
  8. References: <4fmmhi$2gm@felix.teclink.net> <DMoy9J.LJ8@wirehub.nl> <3122C5D1.6620@op.net>
  9.  
  10. In article <3122C5D1.6620@op.net> Bob Uhrick <rju@op.net> writes:
  11. $Ernesto Laban wrote:
  12. $> You get two things mixed up. 14k4 means 14.400 BITS per second.
  13. $> The download value you mentioned is kBYTES per second.
  14. $> 1 byte is 8 bits. so if you divide 14,4/8=1.8 kByte per second.
  15. $
  16. $Correct me if I'm wrong, but I've always thought modems transmit 10 bits for 
  17. $each byte.  8 bits for the character, plus 1 parity bit and 1 stop bit?
  18.  
  19.    Not for reasonably modern modulations.
  20.  
  21.    I know V.32 and up are synchronous - that is, there are no start
  22. or stop bits exchanged between modems - and I think that goes as far
  23. down as V.22.  There are no start or stop bits around each character
  24. in synchronous communications; there's just a stream of bits.
  25.  
  26.    Now, the link between the PC/terminal/printer/whatever and the
  27. modem is usually asynchronous - eight data bits, one start bit, one
  28. stop bit being the most common.
  29.  
  30.    If you're using an error-control protocol which takes advantage
  31. of the synchronous nature of the link (e.g. MNP3 or a level built on
  32. it, or LAP-M), you can get additional throughput even without data
  33. compression.  Let's say you have a 9600 bps connection between two
  34. modems.  At 10 bits per character, that's 960 cps.  At eight
  35. bits per character, that's 1200 cps; not a bad improvement.
  36. An error-control protocol will generally form your data into
  37. packets, and introduce a little overhead on the packets for
  38. headers, trailers, error detection codes, whatever - but they
  39. will also strip off the start and stop bits, so that you're
  40. getting 1200 cps of throughput, minus the overhead in each
  41. packet.  Usually, what's left is 10-15% better than the 960
  42. cps you started with.
  43.  
  44.    To get this benefit, though, you have to have your computer
  45. talk to the modem at a higher data rate.  If you talk 9600 bps
  46. to the modem, that's 960 cps - and if you can only feed the
  47. modem 960 characters each second, that's all you'll get out of
  48. the other end.  If, on the other hand, you talk to the modem
  49. at 19 200 bps, that's 1920 characters each second, and now
  50. the 1100 or so cps that's left over after protocol overhead is
  51. the throughput you'll get (assuming the other end is also
  52. talking to its modem at more than 9600 bps).  Again, this
  53. does _not_ involve data compression; compression can add even
  54. more to the throughput you get, depending on the nature of the
  55. data.
  56.  
  57.    It's important to note that if you're going to be talking to
  58. the modem faster than it can actually transmit data, you need
  59. a way of having the modem say "Whoa, stop for a sec while I
  60. catch up."  That's called flow control.  Without it, it's like
  61. pouring water through a narrow hose using a funnel - and not
  62. looking to see if the funnel's about to overflow.  You'll get
  63. spillage.
  64. -- 
  65. stephen@bokonon.ussinc.com               ...!{xrtll,gts.org}!bokonon!stephen
  66. ----------------------------------------------------------------------------
  67. Stephen M. Dunn, CNE, ACE, Sr. Systems Analyst, United System Solutions Inc.
  68. 104 Carnforth Road, Toronto, ON, Canada M4A 2K7          (416) 750-7946 x251
  69.